package com.ctbri.vSearch.frame;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

import org.springframework.context.ApplicationContext;
import org.springframework.web.context.support.WebApplicationContextUtils;



/**
 * 初始化操作
 * 
 * @author Hogan
 * 
 */
public class InitServlet extends HttpServlet {

	private static final long serialVersionUID = 1L;
	private ApplicationContext app=null;
	@Override
	public void init() throws ServletException {
		super.init();
		/*app = WebApplicationContextUtils.getRequiredWebApplicationContext(getServletContext());
		ESDataPool esdataPool = app.getBean(ESDataPool.class);
		esdataPool.startPool();
		Neo4jPooledConnection neo4jPool = app.getBean(Neo4jPooledConnection.class);
		neo4jPool.startPool();*/
	}

}

